home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 19
/
CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso
/
CUCD
/
Readers
/
Gui4Cli
/
Tools
/
Rtn
/
GetString
< prev
next >
Wrap
Text File
|
1997-12-02
|
706b
|
40 lines
G4C
; GetString
; Get a string from user & pass it to $gui $rtn given
; Use :
; GUILOAD GUIS:TOOLS/RTN/GETSTRING Title StartingString Gui Routine Multi
WINBIG -1 -1 450 27 ""
WinType 11110010
BOX 0 0 0 0 out button
xonload title string gui rtn multi
gosub getstring startup
xonreload title string gui rtn multi
gosub getstring startup
xRoutine startup
guiopen getstring
setwintitle getstring "$title "
update getstring 1 $string
setgad getstring 1 ON
xonclose
guiquit getstring
XTEXTIN 5 5 438 17 "" string "" 150
gadid 1
if $string > ' '
gosub $gui $rtn '$getstring/string'
endif
if $multi == multi
; do multiple strings
else
guiquit getstring
endif